import React from 'react'
import './index.css'
import { ArrowUpOutlined } from "@ant-design/icons";

export default function Index() {
  const handleClick = () => {
    window.scrollTo({
      top: 0,
      behavior: 'smooth',
    });
  }

  return (
    <div className='ending'>
      <div className='end_img'>
        <img style={{marginRight:"30px"}} src={require("../../images/contact.png")} alt=''></img>
        <img src={require("../../images/board.png")} alt=''></img>
      </div>
      
      <div className='back' onClick={()=>{handleClick()}}>
        <ArrowUpOutlined style={{color:'white',fontSize: '30px'}} />
      </div>
    </div>
  )
}
